<template>
    <div class="editor-wrapper">
      <iframe 
        ref="editorFrame"
        style="width:100%;height:100vh;border:none;" 
        src="https://yqty.xzxty310.com" 
        frameborder="0"
        @load="onEditorLoad">
      </iframe>
    </div>
  </template>
  
  <script>
  export default {
    methods: {
      onEditorLoad() {
        console.log('AS-Editor 加载完成');
        // 可以在这里添加与编辑器的通信逻辑
      }
    }
  }
  </script>
  
  <style scoped>
  .editor-wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  </style>